package com.mengyu.moeisland.net

import com.mengyu.moeisland.bean.BaseBean
import com.mengyu.moeisland.bean.User
import retrofit2.http.*

interface APIterface {

    @GET("https://www.baidu.com/")
    @Headers("Accept-Encoding: gzip, deflate")
    suspend  fun getTestBaiduUrl(): String

    @GET("/prod-api/moeislane/login")
    suspend fun login(@QueryMap map:Map<String,String>): BaseBean<User?>



}